<extend name="Base:base" />
<block name="head">
<script type="text/javascript" charset="utf-8">
        window.UEDITOR_HOME_URL = "__ROOT__/Public/ueditor/";  //UEDITOR_HOME_URL、config、all这三个顺序不能改变
</script>
<script type="text/javascript" charset="utf-8" src="__ROOT__/Public/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__ROOT__/Public/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/jquery-ui-1.10.4.custom.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/jquery-ui-1.10.4.custom.css" />
</block>
<block name="title">{$title}</block>
<block name="content">
<form action="{:U('Admin/Applicant/editDo')}" enctype="multipart/form-data" method="post">
    <table class="table">
            <tr>
                <th>应聘者ID</th>
                <th>姓名</th>
                <th>电子邮箱</th>
                <th>联系方式</th>
                <th>更换简历</th>
            </tr> 
            <tr>
                <td>{$applicant.id}</td>
                <td><input type="text" name="name" value="{$applicant.name}"/></td>
                <td><input type="email" name="email" value="{$applicant.email}" /></td>
                <td><input type="tel" name="tel" value="{$applicant.tel}" /></td>
                <td><input type="file" name="resumeurl" /></td>
            </tr>
            <tr>
                <th colspan="6">备注信息</th>
            </tr>
            <tr>
                <td colspan="6"><textarea name="message" id="content">{$applicant.message}</textarea></td>
            </tr>
        </table>
        <input type="hidden" name="id" value="{$applicant.id}">
        <input type="submit" value="保存修改"/>
</form>
<script>
        UE.getEditor('content', {
            "initialFrameWidth": "100%",
            "initialFrameHeight": 250,
        });
</script>
</block>